function bool=mycomparebit(x,y)
X=mychar2double(x);
Y=mychar2double(y);
N=sum((X-Y)~=0);
P=N/length(x);%计算差异比例
if P <=  2/length(x)
    bool=0;%认为无错
else
    bool=1;
end